package com.luoy.enums;


import lombok.Getter;

/**
 * @author luoyuan
 * @create 2018-05-22-上午10:09
 */
@Getter
public enum ResultEnum {
    SUCCESS(0, "成功"),
    PARAM_ERROR(1, "参数不正确"),
    SYSTEM_ERROR(500, "系统异常"),
    ;

    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
